<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page import="static org.six11.olive3.server.WebActionServlet.*"%>


<html>
<head>
<title>Register!</title>
<link rel="stylesheet" href="css/style.css" TYPE="text/css">
</head>
<body onload="javascript:document.forms['register'].user.focus()">
<jsp:include page="nav.jsp" />

<div class="head">Sketching Games Account Registration</div>

<div class="prose" style="width: 600px">
<p>User accounts in sketching games are insecure. <span
	style="font-weight: bold; color: #700000">Don't use your bank
	password.</span> You might consider entering your email address as your
username, but that isn't required. Just give something you will
remember, as there is no fancy 'I lost my password' function.</p>

<c:if test="${!empty errorMsg}">
	<div class="error">${errorMsg}</div>
</c:if>

<form name="register" method="post" action="<%=WEB_ACTION_SHORT%>">
<input type="hidden" name="action" value="<%=ACTION_REGISTER%>" />
<table style="background: #eee; padding: 30px 30px 30px 30px">
	<tr>
		<td>Desired user name:</td>
		<td><input type="text" name="user" value="${user}" /></td>
	</tr>
	<tr>
		<td>Desired password:</td>
		<td><input type="password" name="pass" value="${pass}" /></td>
	</tr>
	<tr>
		<td></td>
		<td><input type="submit" value="Register" /></td>
	</tr>
</table>
</form>

</div>
</body>
</html>
